use "$pathdata/Upload/adjacent_groups.dta", clear	
	
* Supplementary Table 15: Neighboring societies analysis
eststo clear
eststo: qui areg prosociality markets_index motifs_total motifs_total_sqr, a(match) cl(lang_family)
eststo: qui areg prosociality markets_index motifs_total motifs_total_sqr $controls, a(match) cl(lang_family)
eststo: qui areg trust markets_index motifs_total motifs_total_sqr, a(match) cl(lang_family)
eststo: qui areg trust markets_index motifs_total motifs_total_sqr $controls, a(match) cl(lang_family)
eststo: qui areg rel_universal markets_index motifs_total motifs_total_sqr, a(match) cl(lang_family)
eststo: qui areg rel_universal markets_index motifs_total motifs_total_sqr $controls, a(match) cl(lang_family)
eststo: qui areg emotions markets_index motifs_total motifs_total_sqr, a(match) cl(lang_family)
eststo: qui areg emotions markets_index motifs_total motifs_total_sqr $controls, a(match) cl(lang_family)

esttab 	using "$pathout/Tables/adjacent.tex", ///
		booktabs nonotes replace compress  label nomtitles ///
		indicate() drop(_cons) ///
		se(2) b(a2) r2(2)  star(* 0.10 ** 0.05 *** 0.01) ///
		prehead("{\begin{tabular}{l*{8}{c}}\toprule\toprule&\multicolumn{8}{c}{\textit{Dependent variable:}}\\[.2cm] &\multicolumn{2}{c}{Prosociality} &\multicolumn{2}{c}{Trust} &\multicolumn{2}{c}{Moral universalism} &\multicolumn{2}{c}{Moral emotions} \\\cmidrule(lr){2-3}\cmidrule(lr){4-5}\cmidrule(lr){6-7}\cmidrule(lr){8-9}")
